import clientEnum from "./client.enum"
import CollectionUpdateFacade from "./CollectionUpdateFacade"

export default class CollectionUpdateObserverAdaptor {
  observer: CollectionUpdateFacade
  messageType: string
  constructor(e: CollectionUpdateFacade) {
    this.observer = e
    this.messageType = clientEnum.t.COLLECTION_UPDATE
  }
  notify(t) {
    this.observer.observe(t)
  }
}
